package com.foreknow.proxy;

import javax.rmi.CORBA.Tie;

/**
 * 代理购买火车票的类
 */
public class ProxyTicket implements HuoCheTicket {
  public Tielu tielu;
  public void buyTicket(String name) {
    if(tielu==null){
      tielu = new Tielu();
    }
    tielu.buyTicket(name);
  }
}
